<?php
	// echo $_SERVER['PHP_SELF'];
	// echo $_SERVER['SEVER_NAME'];

	/**
	 * Base是一个基类
	 */
	class Base
	{
		
		public function sayHello($value='')
		{
			echo 'hello' . PHP_EOL;
		}
	}


	trait SayWorld
	{
		public function sayHello($value='')
		{
			parent::sayHello();
			echo 'World!' . PHP_EOL;
		}
	}


	/**
	 * MyHelloWorld
	 */
	class MyHelloWorld extends Base
	{
		use SayWorld;
	}


	// $o = new MyHelloWorld();
	// $o -> sayHello();


	/**
	 * 
	 */
	class ClassName extends AnotherClass
	{
		
		function __construct(argument)
		{
			# code...
		}
	}
?>